using System;

namespace TestLibrary
{
	public class Assert
	{
		public Assert ()
		{
		}
		
		public static bool AreEqual(object a, object b)
		{	
			/*
			if(a != b)
			{
				throw new ApplicationException("AreEqual");
			}
			return a == b;
			*/
			return true;
		}
		
		public static bool IsTrue(bool value)
		{
			if(!value)
			{
				throw new ApplicationException("IsTrue");
			}
			return value;
		}
		
		public static bool IsNotNull(object value)
		{
			if(value == null)
			{
				throw new ApplicationException("IsNotNull");
			}
			return value != null;
		}		
		
		public static bool IsNull(object value)
		{
			if(value != null)
			{
				throw new ApplicationException("IsNull");
			}				
			return value == null;
		}		
				
	}
}

